<template>
  <el-tag v-if="mzzy !== 'M'" type="primary">门诊</el-tag>
  <el-tag v-else type="info">住院</el-tag>
</template>

<script setup lang="ts">
import { ref, reactive } from 'vue'

const props = defineProps({
  mzzy: {
    type: String,
    default: '0',
  },
})
</script>

<style lang="scss"></style>
